import request from "@/servives"
class Pro {
  // 获取商品分类ClassifyList，无参
  static getClassifyList =() => request.get("/category/queryfirst")
  // 获取商品二级分类列表,传参{ categoryId}一级分类id
  static getAsideList = data=> request.get("/category/querysecond?", {params:data})
  // 获取商品列表,传参{ categoryId：}二级分类id
  static getProList = data=> request.get("/category/querythird?", {params:data})
  // 商品详情信息获取
  static getProDetail=data=>request.get("/productinfo/showproductinfo?",{params:data})
}
export default Pro